package src.main.java.mapper;

import org.apache.ibatis.annotations.Mapper;
import vo.common.dto.product.ProductDto;
import vo.common.entity.product.Product;

import java.util.List;


@Mapper
public interface ProductMapper {

    List<Product> findByPage(ProductDto productDto);

    void save(Product product);

    Product selectById(Long id);

    void updateById(Product product);

    void deleteById(Long id);

}